﻿using System;

namespace JTLeigh.Commerce.Spencer.Core.Common.Entities
{

	/// <summary>
	/// <see langword="abstract"/> base class for all disassociation classes.
	/// </summary>
	public abstract class DisassociationBase
	{

		#region Properties

		/// <summary>
		/// Gets or sets the disassociated item identifier.
		/// </summary>
		/// <value>An identifier <see cref="Guid"/>.</value>
		public Guid DisassociatedItemId { get; set; }

		/// <summary>
		/// Gets or sets the date that the disassociation starts.
		/// </summary>
		public DateTime StartDate { get; set; }

		/// <summary>
		/// Gets or sets the date that the disassociation finishes.
		/// </summary>
		/// <value>A <see cref="DateTime"/> value, or <see langword="null"/> if the disassociation
		/// does not have a finish date.</value>
		public DateTime? FinishDate { get; set; }

		#endregion // Properties

	}

}
